package com.chinaunicom.bigcustomer.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.chinaunicom.bigcustomer.dao.TelInfoMapper;
import com.chinaunicom.bigcustomer.model.TelInfo;
import com.chinaunicom.bigcustomer.service.ITelinfoService;

@Service
public class TelinfoServiceImpl implements ITelinfoService {
	
	@Resource
	private TelInfoMapper dao;	
	
	@Override
	public int deleteByPrimaryKey(String vMobile) {
		// TODO Auto-generated method stub
		return dao.deleteByPrimaryKey(vMobile);
	}

	@Override
	public int insert(TelInfo record) {
		// TODO Auto-generated method stub
		return dao.insert(record);
	}

	@Override
	public int insertSelective(TelInfo record) {
		// TODO Auto-generated method stub
		return dao.insertSelective(record);
	}

	@Override
	public TelInfo selectByPrimaryKey(String vMobile) {
		// TODO Auto-generated method stub
		return dao.selectByPrimaryKey(vMobile);
	}

	@Override
	public int updateByPrimaryKeySelective(TelInfo record) {
		// TODO Auto-generated method stub
		return updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(TelInfo record) {
		// TODO Auto-generated method stub
		return updateByPrimaryKey(record);
	}

	@Override
	public Float queryByMonths(String vMobile) {
		// TODO Auto-generated method stub
		return dao.queryByMonths(vMobile);
	}



}
